package com.ourygo.fileselect.bean;

public class PathSelectItem {
	private String path;
	private String name;
	private int icon;

	public void setPath(String path) {
		this.path = path;
	}

	public String getPath() {
		return path;
	}

	public void setIcon(int icon) {
		this.icon = icon;
	}

	public int getIcon() {
		return icon;
	}


	public void setName(String name) {
		this.name = name;
	}

	public String getName() {
		return name;
	}
	public static PathSelectItem toPathSelectItem(String name,int icon,String path){
		PathSelectItem pi=new PathSelectItem();
		pi.setName(name);
		pi.setIcon(icon);
		pi.setPath(path);
		return pi;
	}
	
	}
